package org.grottarossa.template.drivers.components;

import java.util.ArrayList;

import org.grottarossa.template.data.pojo.table.Record;
import org.grottarossa.template.data.pojo.users.User;
import org.grottarossa.template.data.pojo.users.UserList;

import org.grottarossa.template.drivers.DriverException;

public interface UserManagement {
	UserList getUsers(String sortElement);
	//public UserElement getUserElement(String id);
	User getUser(String loginID);
	void createUser(User user);
	ArrayList<Record> getAllCourse(String loginId) throws DriverException;
	Record getUserProfile(String loginId) throws DriverException;
	ArrayList<String> getRoles() throws DriverException;

}
